package stack;

/**
 * 栈接口
 *
 * @author: yxyi
 * @mail: yxyi@iflytek.com
 * @date: 2018-12-27
 */
public interface Stack<E> {
    int getSize();
    boolean isEmpty();
    void push(E e);
    E pop();
    E peek();
}
